{% extends "base.html" %}
{% block title %}Profile{% endblock %}
{% block content %}
{% ifequal myprofile.user profile.user %} 
    {% include "profiletabs.html" %}
{% else %}
    {% ifequal profile.privacy 'nobody' %}
        Note: this persons account privacy level prohibits anyone from viewing their profile 
    {% else %}
        {% ifequal profile.privacy 'members' %} 
    	    {% if username %}
                {% include "profiletabs.html" %}
        	{% else %}
        		Note: this persons account privacy level only allows members to view their profile 
        	{% endif %}
        {% endifequal %}

        {% ifequal profile.privacy 'everyone' %} 
            {% include "profiletabs.html" %}
        {% endifequal %}

    {% endifequal %}
{% endifequal %}

{% endblock %}
